#列表去重

a = [2,3,4,6,3,7,8,2,5,3,6,3,2,9]
'''
b = {}
b = list(b.fromkeys(a))
print(b)
'''

'''
b = list(set(a))
print(b)
'''

'''
a.sort()
b = []
i = 0
while i < len(a):
    if a[i] not in b:
        b.append(a[i])
    else:
        i+=1
print(b)
'''

'''
# error 越界访问
a.sort()
for i in range(len(a) - 1):
    if a[i] == a[i+1]:
        a.remove(a[i])
    else:
        continue
b = a
print(b)
'''